package com.info.zhiduoduo.common.baidusdk.configs;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

@Component
@ConfigurationProperties
@PropertySource("classpath:baidu-sdk.properties")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)  //setter return this;
@ToString
public class BaiduSdkConfig {

	private String appid;
	private String apikey;
	private String secret;

	private String bceAccessKey;
	private String bceAppCode;
	private String bceAppSecret;
}
